<div id=new_todo class=card>
<% form_for(:todo, :url => todo_path(@todo.project,@todo), :html => { :method => :put }) do |f| %>
    <%=render :partial=>'form',:locals=>{:f=>f,:project_id => project_id}%>
    <%=indicator('sub')%>
    <%= submit_tag "Save this list".t,:id=>'sub_todo',:onclick=>"Element.show('indicator_sub')" %> 
    <%="or".t%> <%=link_to "Cancel".t,todos_path(project_id),:class=>'admin',:onclick=>""%>
<% end %>
</div>

